package com.supercube.wechat.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信认证配置信息
 *
 * @author djzhao
 * @date 19/10/02 18:09
 * @email djzhao627@gmail.com
 */
@Component
@ConfigurationProperties(prefix = "wxapp")
public class WxAuth {
    private String appId;

    private String secret;

    private String grantType;

    private String sessionHost;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getGrantType() {
        return grantType;
    }

    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }

    public String getSessionHost() {
        return sessionHost;
    }

    public void setSessionHost(String sessionHost) {
        this.sessionHost = sessionHost;
    }
}